from django.db import models

# Create your models here.

class Person(models.Model):
    name = models.CharField(max_length=30)
    age = models.IntegerField()
    money=models.IntegerField(default=0)
    wife=models.CharField(max_length=30,default="无")


    def __str__(self):
        return self.name+str(self.age)+'钱'+str(self.money)+'老婆:'+self.wife;


